package cn.bone.elasticsearch;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * Created by MD-01 on 2017/3/21.
 */
@SpringBootApplication
public class SearchMain {
    public static void main(String[] args){
        ApplicationContext ctx = SpringApplication.run(SearchMain.class);
        /*String[] beanNames = ctx.getBeanDefinitionNames();
        for(String beanName : beanNames){
            System.out.println("================================");
            System.out.println(beanName);
            Object bean = ctx.getBean(beanName);
            System.out.println(bean.getClass().getName());
        }*/
    }
}
